package com.cos.hospital.ui.record.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.cos.hospital.R;
import com.cos.hospital.dao.beandao.DbAcupoint;

import java.util.List;

public class AdapterAuto extends BaseQuickAdapter<DbAcupoint, BaseViewHolder> {

    public AdapterAuto(@Nullable List<DbAcupoint> data) {
        super(R.layout.item_auto_complete, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, DbAcupoint item) {
        helper.setText(R.id.tv_name, item.getFldAcupointName());
    }
}